<template>
  <div>
    <h1>Child -- {{ count }}</h1>
    <button @click="$emit('update:count', count + 1)">修改</button>
  </div>
</template>

<script>
export default {
  name: "Child",
  props: ["count"],
};
</script>

<style>
</style>